From: Keir Fraser Date: Sat, 31 Mar 2007 11:26:04 +0000 (+0100) Subject: xm: Fix an indentation bug. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~15270^2~25 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks://%22Dat/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22Dat?a=commitdiff_plain;h=29f999ff69fea4aa73d3a85c399d78159db876d7;p=xen.git xm: Fix an indentation bug. Signed-off-by: Stefan Berger --- diff --git a/tools/python/xen/xm/main.py b/tools/python/xen/xm/main.py index 34a3a5d516..940a97034e 100644 --- a/tools/python/xen/xm/main.py +++ b/tools/python/xen/xm/main.py @@ -929,10 +929,10 @@ def xm_label_list(doms): if security.active_policy not in ['INACTIVE', 'NULL', 'DEFAULT']: if not d['seclabel']: d['seclabel'] = 'ERROR' - elif security.active_policy in ['DEFAULT']: - d['seclabel'] = 'DEFAULT' - else: - d['seclabel'] = 'INACTIVE' + elif security.active_policy in ['DEFAULT']: + d['seclabel'] = 'DEFAULT' + else: + d['seclabel'] = 'INACTIVE' output.append((format % d, d['seclabel']))